<html>
<head><meta charset="utf-8"><title>staticlib exit 16 · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/staticlib.20exit.2016.html">staticlib exit 16</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="226338095"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/staticlib%20exit%2016/near/226338095" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> devsnek <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/staticlib.20exit.2016.html#226338095">(Feb 15 2021 at 02:00)</a>:</h4>
<p>i tried to port a little c++ static library to rust, but now the program it is linked into always exits with code 16. is there a table of rust exit codes somewhere? i couldn't find anything</p>



<a name="226338428"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/staticlib%20exit%2016/near/226338428" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/staticlib.20exit.2016.html#226338428">(Feb 15 2021 at 02:07)</a>:</h4>
<p>the only well known exit code is 101 for panics AFAIK</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>